package fr.paris.lutece.plugins.xbmc.bean.video;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import fr.paris.lutece.plugins.generic.bean.AbstractBean;
import java.util.Date;

/**
 * The Video Bean
 * @author jchaline
 */
@Entity
@Table(name = "xbmc_video")
public class Video extends AbstractBean<Integer> {
	@Column(name = "id")
	private	Integer _id;
	
	@Column(name = "name")
	private	String _name;
	
	@Column(name = "date")
	private	Date _date;
	
	
	/**
	 * the id setter
	 * @param id the id to set
	 */
	public void setId(Integer id){
		this._id = id;
	}

	/**
	 * the id getter
	 * @return id
	 */
	public Integer getId(){
		return this._id;
	}
	
	/**
	 * the name setter
	 * @param name the name to set
	 */
	public void setName(String name){
		this._name = name;
	}

	/**
	 * the name getter
	 * @return name
	 */
	public String getName(){
		return this._name;
	}
	
	/**
	 * the date setter
	 * @param date the date to set
	 */
	public void setDate(Date date){
		this._date = date;
	}

	/**
	 * the date getter
	 * @return date
	 */
	public Date getDate(){
		return this._date;
	}
	
}